import {
	request
} from "@/utils/request.js"
import store from "../../store";

//订单列表
//http://localhost:1024/dev-api/order/orders/list?pageNum=1&pageSize=10
// 请求方法:
// GET
// 请求参数:
export const orderList = () => {
	return request({
		url: '/order/orders/list?pageNum=1&pageSize=10' ,
		method: 'get',
	})
}
export  const  billType = () =>{
	return request({
		url: `/system/dict/data/type/bill_type/${store.getters["internationalization/getLanguage"]}`,
		method: 'get',
	})
}
export  const  orderType = () =>{
	return request({
		url: `/system/dict/data/type/order_type/${store.getters["internationalization/getLanguage"]}`,
		method: 'get',
	})
}
